
using System;

namespace ERP_RORZE_TOOL.Common.ValueObject

{
    [Serializable]
	public class Return
	{
			#region Members
			protected int iD;
			protected DateTime date;
			protected string staffID;
			protected string machineID;
			protected string toolID;
			protected string statusName;
			protected int quantity;
			protected string note;
			#endregion
			#region Public Properties

			/// <summary>
			/// Property relating to database column ID(int,not null)
			/// </summary>
			public int ID
			{
				get { return iD; }
				set { iD = value; }
			}

			/// <summary>
			/// Property relating to database column Date(datetime,not null)
			/// </summary>
			public DateTime Date
			{
				get { return date; }
				set { date = value; }
			}

			/// <summary>
			/// Property relating to database column StaffID(nvarchar(50),not null)
			/// </summary>
			public string StaffID
			{
				get { return staffID; }
				set { staffID = value; }
			}

			/// <summary>
			/// Property relating to database column MachineID(nvarchar(50),not null)
			/// </summary>
			public string MachineID
			{
				get { return machineID; }
				set { machineID = value; }
			}

			/// <summary>
			/// Property relating to database column ToolID(nvarchar(50),not null)
			/// </summary>
			public string ToolID
			{
				get { return toolID; }
				set { toolID = value; }
			}

			/// <summary>
			/// Property relating to database column StatusID(int,not null)
			/// </summary>
			public string StatusName
			{
                get { return statusName; }
                set { statusName = value; }
			}
			/// <summary>
			/// Property relating to database column Quantity(int,not null)
			/// </summary>
			public int Quantity
			{
				get
				{
					return quantity;
				}
				set
				{
					quantity = value;
				}
			}

			/// <summary>
			/// Property relating to database column Note(nvarchar(250),null)
			/// </summary>
			public string Note
			{
				get
				{
					return note;
				}
				set
				{
					note = value;
				}
			}

			#endregion
	}
}
